package net.hn.hnms.biz.api.safety.trinity.fegin;

import net.hn.hnms.biz.api.feign.model.DataStateVo;
import net.hn.hnms.sys.common.core.domain.R;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Author: PanSX
 * Date: 2023/6/5 14:12
 */
@Component
public class RemoteTrinityServiceFallback implements RemoteTrinityService{
    @Override
    public R<List<DataStateVo>> getHiddenDangerMaxTime(String mineCode, String companyCode) {
        return R.fail("获取最新隐患数据失败！");
    }

    @Override
    public R<List<DataStateVo>> getRiskMaxTime(String mineCode, String companyCode) {
        return R.fail("获取最新风险数据失败！");
    }
}
